package com.gzsxy.builder.demo;

/**
 * @author xiaolong
 * @version 1.0
 * @description: TODO
 * @date 2022/4/10 22:03
 */
public class Test {
    public static void main(String[] args) {
        //指挥
        Director director = new Director();
        //指挥具体的工人完成产品
        Product build = director.build(new Worker());
        String s = build.toString();
        System.out.println(s);
    }
}
